package com.smart.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import com.smart.common.annotation.Excel;
import lombok.Data;
import lombok.Builder;
import com.smart.common.core.domain.BaseEntity;

import lombok.*;

import java.util.Date;

/**
 * 容量记录对象 bucket_capacity_record
 *
 * @author smart
 * @date 2025-01-03
 */
@Data
@Builder
@TableName("bucket_capacity_record")
@AllArgsConstructor
@NoArgsConstructor
public class BucketCapacityRecord{
private static final long serialVersionUID = 1L;

    @Schema(description ="${comment}")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @Excel(name = "垃圾标识id", readConverterExp = "垃圾标识id")
    @Schema(description ="垃圾标识id")
    @TableField(value = "bucket_id",exist = true)
    private Integer bucketId;

    @Excel(name = "数值", readConverterExp = "数值")
    @Schema(description ="数值")
    @TableField(value = "number",exist = true)
    private Integer number;
    @Excel(name = "创建时间", readConverterExp = "时间")
    @Schema(description ="创建时间")
    @TableField(value = "create_time",exist = true)
    private Date createTime;
}
